fixing the "no platform directory for this platform"