Fixes to DoxygenTargets.cmake

Makes it work properly on windows (again)