get a doxygen build if the doxygen version is wrong and on linux or mac os

close #405