Fixed Modeline reading in OSX