Fix distcheck with --enable-optimize
auto merge of #308 : alexcrichton/cargo/enable-optimize, r=alexcrichton