BUG: Incorrect target link libraries specified as dependency