Add cflags to solaris platform