First try to load platform from the user provided build properties
try to fix #815
With test