Nailing or stapling machines provided with assembling means