linux qt build failed fix ( Issue 3599 )

simple fix based on NativeApp.cpp
fix zlib compilation error

on ubuntu 13.04 if -lz isn't the last parameter occurs a compilation error
Merge pull request #3681 from Kokusho/master

some fix for qt interface