Enabled warnings and optimizations