source made compatible with Ubuntu OS

Couple of modification to have all projects work on Ubuntu.