Fix absolute build-dir in travis scenario.