[PATCH 2/3] winegcc: Pass target and resources as arguments to build_spec_obj.