How to make Fedora4 build threadsafe for Postgresql?