sdk: fix GCC and Python dangling symlinks