Fixed gcc compiler errors.

Warnings from fbxsdk are suppressed as there are too many.