Adding missing typecasts and guarding i64 __mul with compiler version check
Merge pull request #616 from jbrodman/master

Adding missing typecasts and guarding i64 __mul with icc version check