Made it possible to build from a different directory to the source