Export only needed stuff on Windows

Change-Id: Iac43500280f5639caf13e4f4171a83e1eade6ece