verify that the string element type exists

This fixes a SEGV if the detected string element type does not exist
Merge pull request #25 from orocos-toolchain/fix_segv_on_nonexistent_string_element_type

verify that the string element type exists