fix det_pylibdir, determine Python lib dir via distutils, which works cross-OS

@omula: This should fix https://github.com/hpcugent/easybuild-easyblocks/issues/418
@pforai: I think you'll be interested in this one as well

@stdweird: please review?