correctly set have libxc flag