BUG: strip debug string from so extension

SO config variable used to obtain system so extension
returns _d.so on linux which is python specific, so strip it
closes #3057