getting BUILDDIR arg to makefile working in unix env