Fix missing header bug when SOIL is not installed.