Fixed buildsystem for CLion IDE.