replace shared_lib_ext with SHLIB_EXT