Make AutoNet a shared library

- [ ] Remove Mac hack in JunctionBoxManager.cpp
It evaluates to bool. This is an idiom for adding an error message to `assert`