ldr_pe: fix missing typename for g++