Trying to fix compilation errors. Testing cmake building system and travis-ci.