Revert "Added many new build flags"

This reverts commit e8c56b97f2e3a03d70b7b1b205707088063d3630.