libcpp detection