Added workaround to dynamic interface creation

This may have been tripping up HHVM.