Fix false-to-NULL bug in bsd.cpp and ( .. && ..) != 0 bug in pcre.cpp