Added DST handling to build_data.do

This should fix the assertion errors that were taking place.