Use old method for setting C-Flags

This PR modifies how CMake will set the C-Flags for the build.