Managed to get the client building on GCC 4.4 also.