build: fix a symlink issue to avoid misplaced libs