Travis: use -fPIE

TSan sometimes fails to build without it.
https://travis-ci.org/znc/znc/builds/35293091
Switch to CMake

Developed with: Samuel Gaist <samuel.gaist@edeltech.ch>