add pk_get_oid.c back to items to compile, fix C99 uncompatibility