Fixed OS X specific in .functions