fixed warnings related to glibc build that depends on zrt.h
fixed #76
fixed #69, fixed #75
fixed #77