Merge branch 'compile_freebsd' into 'master'
Fix compilation on FreeBSD
See merge request kde/krita!182