Add optional commonjs support.