Fixed issue with android building in release mode (value of MODE variable not honoured).