Minor updates in the build system

- Added function for requiring the availability of C++ features.
- Made SCOPED_ENUMS an requirement.