Really cleanup build options

cleanup of `build_options` mess

depends on #874

this PR should be rebased on top of `develop` once #874 is merged in