Checking if it's mono to not compile NBug calls