cmake: default build type is debug
travis-ci: use cmake to build project now