Compilation warnings
recompiling with new SDK, fixing various compilation warnings.