removing -shared from cflags