How to compile on the fly?