Multiple build types in travis.
Fix warnings.