Add compiler flag -Dstage3d

to successfully build on other platforms. not only flash