Fix issue not finding platform script when in subdir
- check platforms which have subdir
- append subdir to libDir for detected platforms
CB-5364 config_parser - check for null element text