Cache results from compilation to avoid unnecessary rebuilds.
Merge pull request #8 from xonev/cache-builds

Cache results from compilation to avoid unnecessary rebuilds.