winex11: Use a standard import function to retrieve the TARGETS property.