Make it easier to check for compiler warnings

Add 'cctest -nooutput 1' to consider any compiler output as an error.

Signed-off-by: Steve Bennett <steveb@workware.net.au>
Add shared lib support for haiku

Signed-off-by: Steve Bennett <steveb@workware.net.au>