make CFLAGS and LDFLAGS specific to different os conventions