Speed up the compilation process v2

Sames as #113 except:

* trivial fixes and updates
* build info data refactoring
* using term_to_binary compression
* not writing build info file if the graph is unmodified