Windows specific changes from Morten Kromberg that enables windows users to use APLUnit