Make RelWithDebInfo the default libgit2 build flavor
Refactor Travis build script