Revert "Updated build flags"

This reverts commit 3801f9235995f8dcbdfd0e935ae8765a6dff7a47.