Get SilentMode compiling under gradle