fix bug for static init

Ugh! Static initialization of instance variables is a very bad idea.

This fix is taken from the Chromium code-base. It includes their
double-fix for ARM.

* https://codereview.chromium.org/24984004
* https://src.chromium.org/viewvc/chrome?revision=226099&view=revision
* https://code.google.com/p/webrtc/issues/detail?id=1777
Merge pull request #6 from cdunn2001/fix-static-init

I will try to pull the other changes from Chromium as well.

This passed Travis.