The Philippines set to work clearing debris, reconnecting power and rebuilding flattened houses on Thursday after a typhoon swept across the country killing 38 people, with at least eight missing,