Updated compilation script