make cmake folders dynamic and allow parallel build on travis

Dont know if this works yet, cmake method is broken for me currently (missing symbols while linking with sdl2)