modif build.sh in order to use compile all