Make madvising/collecting a compile-time option.