Add MagicLib dependency

... which may or may not be necessary.