Fix compilation issue and tweaked run_test.sh
Merge pull request #115 from gavincornwell/master

Fix compilation issue and tweaked run_test.sh