changed ld flags