Export only needed stuff on Windows

Change-Id: I276cdce38ad9b2a8a62ded67f7d34a5bca6a698f