remove chdir from extract and build