fix det_modpath_extensions for Intel compilers