C++ library for detecting CPU capabilities