some MSVC compatibilities
adding qctemplate module