add -Werror to CFLAGS
add -Wno-error=sign-conversion to CFLAGS of libruby
fix compiler warnings