[Peter: fix static builds, don't run ldconfig, disable assert checks] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>