work with more than one inclusion of FindCurrentDoxygen

relates salilab/imp#676