Added a script to compile sofia module.