improving cmake (to work with travis-ci.org)