[tools] Fix windows pbc_to_exe, missing unistd.h GH #1114

Thanks to FROGGS for the failure report.