use clang and POSIX flags