Fix py3k linking on Linux