BUG: strip debug string from so extension

closes #3057