Fixed Working Directory

It should simply be '.' when in compile mode, or in other words, the same
as program_directory. Should probably investigate how Game Maker handled it since I don't believe Game Maker simply returned '.', testing should also be done for program_directory. I believe Game Maker actually called the windows SetWorkingDirectory() call so that '' a null terminated string would simply be the local path.