Add $(RUSTFLAGS) to the shell that gets crate file names.

This is for crosses that don't support certain crate types (ie PNaCl doesn't support dylibs).