Fixed bug with recursive compile.