There's more to it than just making sure the wires are connected correctly. CPU fans are typically powered by up to 12V, while USB is only 5 V. It's possible the fan may not even start at that voltage. You may also want to check the current rating of the CPU fan, to make sure it doesn't exceed 500 or 900 mA (max current for a USB 2.0 and 3.0 port, respectively). I don't think a CPU fan should draw that much though.