CMake: Better SparseHash search, reduce Boost version to 1.38. Checked on MinGW, Ubuntu 12.04 and FreeBSD 8.3.