move to addon helpers. fits better and avoids duplication for win32