Shift none to go before pthreads to allow clang to work on platforms where it is aliased to cc.