cmake test for HAVE_FUTURE