pipe, user, channel setproperty segfault solved; Build.sh and Makefiles restructured

Please review this all.