Elm: fix compilation on OS that are not using X