Fix for compiler warnings when compiling on on Linux/mono.