Makefile: detect Mac OS and use open instead of xdg-open