Updated travis build script to build examples as well