Some systems prefer pthread library to go at the end, after sources.