BUG: add module extensions to load_library search list

on mac, windows and linux (with >= py3.2) shared libraries and loadable
module have different extensions, so check both for all platforms.