Fix for detecting non-literal commonjs requires