Use frameworks from submodules.
Move build commands to travis_build.