Workaround for https://github.com/facebook/hhvm/issues/2509