adding flags to streamline and speed up Qt 5 build