• added cmake module to detect host features at build time
  • fixed missing include for compile-time features
  • fixed typo in preprocessor symbols that made compile-time calls return the wrong result