make sure to activate linking