Fix linking bug (issue 11)