added custom build options support in pkg generators