One dead, school collapses in Pakistan due to earthquake