support for building package in the build directory