clang needs additional flags