build: don't link core with x11

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Merge branch '3.0'

* 3.0:
  build: don't link core with x11