Update platforms.cpp