fixed tests if BUILD_SPDY is OFF
Merge branch 'cmake_fix_tests' into cmake_updates
fixed tests when BUILD_SHARED_LIBS=OFF