save memory when building on Travis by disabling MySQL and PostgreSQL services.
small code tweaks.