Fix broken install when doxygen is not found

Tiny patch to fix the same problem I fixed in libnabo a couple of days ago.