Sed also works differently on OSX. The Makefile should now be portable unless OSX also has a different tar command.