Hopefully, once this ticket is closed, everything should be easier using CMake