more portable detection of python site-packages directory