Don't pass warn/err flags for release mode build.

It's making travis complicated