Avoid linking against the same framework twice