fix compile on some platforms by including pdfile.h