Switched to makefile
Fix compiler errors under GCC/Clang
Add .travis.yml