added support for building from parent