short function for making Platform in Unix