fix binary package build
Merge pull request #3065 from alalek:fix_binary_package_build