Updated broccoli_lib.cpp to compile in Windows