windows: Fix error: 'free' undeclared (first use in this function).