Fixed startfile on macosx