Fix a race initializing static properties

Reviewed By: @swtaarrs

Differential Revision: D1529994