Matlab example SIM_Multicopter gcc error ws2_32.lib not found

Hello, I am trying to run the Matlab example SIM_multicopter. How ever I get this error:

Error using mex
gcc: error: ws2_32.lib: No such file or directory

I see in the documentation that I need the tcp_udp_ip_2.0.6 tool box but that looks like its already included in the autopilot repo.

Any ideas?