Linker failed with ambiguous references

Hello @geirrastad,

I created a PR which should fix this issue:

Best,
Johannes