Finally fixed external libs issue