How to link and run applications using WinLib