Revert "Add extra compiler flags"

This reverts commit 92d69ee4c913222f6070aa21cc6f7e8811e4e417.