Fix build, remove warnings.