Update ConfigureChecks.cmake

Fix build on mavericks