Fix cmake bug for copying doxygen files.

Addresses a mistake I made in #123. This is ready to be merged. It should be merged quickly, as, right now, `make install` gives an error.