check to see if '-Wl,-pie' is supported before using it