tweak makefile
Merge branch 'master' into portable