Fix compile for sh4 and gcc 4.8