[iwhd] build: check for mongodb headers