Get rid of defunct JavaFX detection mechanism.