Implement other than d6 dices, switch to CMake.
Fix segfault when no modifier is provided.