no need for shared dir when building
turns out we do need to know the shared_dir when building.