Proper syntax of linking