sanitize configure options and paths

if no prefix specified, use /usr/local in all places.

Signed-off-by: Sven Nierlein <sven@consol.de>