[PATCH v2] winebuild: Find main/wmain in static libraries.