Working directory fix done for Windows and Linux too.