fix permissions of libs

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