remove static cflags

This breaks cross compiling