Layer of moisture proof material in a masonry wall