Update CMakeLists.txt

Fix for compiling under ubuntu 12.04 ( may affect other distros )