compile link fixes