Update instance.py

platform object doesn't have buildElements functions