Question: can ghasts blow up glass?
Answer: Ghasts can destroy a ton of blocks if they catch sight of you, even for a moment, and get a fireball off. I highly suggest building with cobble, normal stone, and things of that nature. Those blocks can't be blown up, so. Glass, stone, whatever you like, really.