Fix CMakeLists to be useful under Linux

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>