Bugs fixed in build_test.sh : stuff were not properly generated

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Several fixes in the process of building tests
Merge branch 'master' of github.com:phdeniel/sigmund