prima: fix compile for GGC 4.7