Fixed some compilation errors in GameObject.h