Add check for madvise and folly config var to use