Adding pwd check to .travis.yml to determine build directory on travis.