added possibility of supplying build options