Fixed to work with mysql 5.0

information_schema.engines table was added in MySQL 5.1.5.
https://dev.mysql.com/doc/refman/5.1/en/engines-table.html