Update compiler.py

Allow for @import