Fixed error when libs folders are missing.