Made CFLAGS stricter, fixed sources accordingly.