Improved Winelib apps initialisation code. No longer need to link