Put `-Wl,-pie` in an if apple block