Update compile script to use system  program.