Export only needed stuff on Windows

Change-Id: I622147bf50994c6abdd03512845885bade4af861