Disable gcc46 and gcc47 on 10.10+

Closes #548.
Closes #549.