BUG: hardcode some known shared library extensions

the configuration variables are not a reliable mean to get the shared
library extension. darwin, windows and debug linux are wrong in these
variables.
SHLIB_SUFFIX is also wrong as of python 3.3.1
closes #3057
Merge pull request #3182 from juliantaylor/debug-ext

get_shared_lib_extension(): strip debug extension from so ext