Make collate margin handle OS X / Ubuntu