Quake in Philippines sends people running out of homes