Added a script for compiling protocol files.