support building in an dedicated binary dir