gmake: Fixed build command not running in the correct directory.