atl: Try to avoid recompiling constant ATL.

This should speed things up a little by avoiding the expensive
recompile step where possible.