Fix compile on windows
pwd.h is not needed anymore, so remove it
Differential Revision: https://phabricator.kde.org/D24441