Added support to detect the OS

utils/os_detect.hpp includes macros to detect the running OS