Add proper CFLAGS and remove deprecated -s.
Fix compiler warning.