[TIMOB-12844] Fixed bug with timodule detection that wasn't properly han...

...dling multiple platforms.