Fix bug with type of constant in port map (issue #29)