Update BlockCompiler.php

Prevent blocks from being undefined.