fix crash on linux
update unix makefile