Fixed some NGECore compile errors