fix compilation of pac rom