fixup src/cmakelists.txt

Ivanovic pointed out problems:
http://www.wesnoth.org/irclogs/2014/07/%23wesnoth-dev.2014-07-20.log