Fix for Ubuntu 14.04

gcc 4.8 is more strict than gcc 4.7, add dependency to make it happy.

Thanks @skywave for the patch!