Fix undesired file being linked