Add os/Dynlib. Closes #682