Fix for newer MySQL versions - 5.5+

The older TYPE option was synonymous with ENGINE. TYPE was deprecated in
MySQL 4.0 and removed in MySQL 5.5.