Fix #1071 - Specified key was too long; max key length is 767 bytes

This blocks installations on ubuntu 13 with mariadb 10