Working (but fairly untested) build with exporting of 'dot' to the global namespace