Fixed issue cause by comments in platform.txt on Linux