Make plugin re-entrant

This disallows spawning child compilers from a child compiler. Fixes #17.