Removed various warnings.
Updated linux build.