Add checkedCompile

For more compatibility with lessphp.
This isn't used by Assetic, but I used it in my own framework. There are probably more people using this, so this makes it easier to move.