Fix NPE when using jfx:native goal in 8.1.1