[tools] declare _NSGetExecutablePath on APPLE for pbc_to_exe