fixed testing build and use makefile instead of build.sh
fixed problem: dirty stream out of read size in Mac OSX.
removed testing from default task in Makefile.