change the setup script to use multi core for compiling