Fixes linking bug