support commonjs version of handlebars after 1.1.0
migrate spm@3.x
build