fixed cmakelists for Ubuntu 12.04