Fixed incremental compilation for doc code samples