Updated to the correct C modifiers for JNI_OnLoad due to VS2010 issues