This resolves linking errors when doing static cross-compile builds against python with no thread support.