Update Compiler.php

Add feature "Check require extensions orther when build your extension"