fix directory to build from