Update the compile script to be friendly to latest version
Compile with clean