package atk: improve portability fix