Fixed various minor issues to get the project compiled on windows

* google protocol got disappeared again from introjucer. Josh ?!?!?
* unsigned char buffer[numBytes] => buffer = new unsigned char
[numBytes];
* various functions failed to return a value.