Mega patch

- adds versioning
- adds “make dist” to CMake
- fixes “inline” bug