Only try with -LPYTHONDIR/lib when python-config output didn't work.