Generate build options file