ast.so only needs GCLDFLAGS, not full LDFLAGS which breaks for cygwin