Uses the correct argument for the build dir