fix app linker rule for MinGW

This fixes a regression introduced in 7f5d5445.

Task-number: QBS-597
Change-Id: Ifa453e1de8f4d1857fd4c247bd359c6c605e4f79
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>