make buildable on 4.7