Added dependency for gcc47
fixed some cairo things