Fix LDLIBS on Python 3 to use LDVERSION (fixes FreeBSD compile)