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