changed SIZEOF_PE_HEADERS(rpe) macro to an exported function instead