Respect target framework for framework assembly references