Use cmake for building