cmake: Remove some compiler flags that are no longer needed