fix typo in metavoxels library setup
add macro to link shared dependencies to target