Fix android build and a few warnings in gameobject