Fix a constexpr clang error
Add option for extra compile flags