fix current directory for build call