Removed all build warnings and treating warnings as errors