Modified custom.el file to be OS platform specific