fixes
finish installation details from macosx
conditional linux flags on Makefile