Fixed all the build warnings. Some are suppressed.