Compiling Boost.threads on SGI