Fix release build (unused parameters).
Fix Travis build.