Make extensions commonjs modules