Added check for certtool, compile even if its not available, but not compile tests that depend on it.