Support MariaDB with --use-homebrew-mariadb

[GitHub #1]

Patch by odoku. Thanks!!!