Bitumen, a sticky, viscous form of petroleum, has been used to weatherproof buildings for thousands of years. You can read more about that in my answer here.