WIP: Fix non exported references on Windows