fix link bug

Signed-off-by: Werner Macho <werner.macho@gmail.com>