Fixed a bit of the compile action code