Thank you for the replies.
It turned out that this is the solution:
That allows you to build it using native Windows tools (like Visual Studio
command prompt) so there is no risk of running into linking or other
problems later on.
Learn why you should attend BroadSoft Connections 2015
This email is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. If
you are not the intended recipient and have received this email in error,
please notify BroadSoft, Inc. immediately by replying to this message, and
destroy all copies of this message, along with any attachment, prior to
reading, distributing or copying it.