Fixed lib. and some paths.