On the outskirts of Banda Aceh, the devastated provincial capital, wooden barracks were being constructed over open drains with water pooling underneath.