[Peter: misc fixes, use real version, correct compile/link flags] Signed-off-by: Mike Williams <mwilli60@harris.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>