fix double -s in linkflags