Build for Qt < 4.8.0