slightly more efficient integer abs
handling the case where a module was loaded in another context and _DEPENDENCIES_FOUND is not defined anymore