fixes for ebuilds