Export only needed stuff on Windows

Change-Id: I004e93c6159bfd7479ea14f2e40fefe9b20953b6