updated build options, bugfix