Add script to compile Lib SWC