Cargo support

Where does `$OUT_DIR` come from? Is it set by Cargo?