Use the right system call in build script