Fix for 'rake spec' on travis