Fixed build and enabled Travis CI.