Added platform check in the beginning of the default recipe