Fix build error related to working directory.