afanasy: build corrected for altlinux7