define constant SHLIB_EXT, deprecate shared_lib_ext global var
Merge pull request #630 from boegel/SHLIB_EXT

define constant SHLIB_EXT, deprecate shared_lib_ext global var