Fix bugs about 'use_binary' of packages