Changed modes for packaging into library archive
Changed from q to r. q was causing issues with multiple definitions because it did not check for old object file in the archive already