Add build script preparatory to travis CI integration