Libyan assembly votes to follow Islamic law