Revert "Added optimized compiler flags."

fix compile error

This reverts commit 499ba5fab75c34c96a968f192a62bc6ccd615715.