Fix #706: Add mechanism to support CommonJS style require