Merge pull request #161 from natural-law/develop

Solve the error logic when select available platform for compiling.