Moved global mutex variables into the bump namespace and made it static

There was an issue developing a Mac app using both static libs for bump and vipre at the same time because of duplicate symbols in the global mutex lock variable. Moving the mutex variable into the namespace and making it static will eliminate this issue.