Fix ports when building command.

It failed before when concatening when ports are integers.
Merge pull request #3 from fabiokr/bugfix/ports

Fix ports when building command.