fix build order when using binary projects