add SYS=Darwin

Automatic detection does not work for me.