Create lib dir automatically if it has gone missing