Fix platform add in build