Death toll rises to 42 in Indonesia quake