fixed some build problems
print out port names