Workaround for HHVM ( https://github.com/facebook/hhvm/issues/1447 )