make it work on Apple systems as well