Add patches for Qt 4.8.4 and config scripts