Magnitude 5.1 earthquake hits Indonesia