Fix DSM 5 compatibility for jappix