switch to gcc 4.9 on travis