if we are on linux/BSD and there's no X running, try Xvfb automatically.
also workaround some Gallium bugs and Imagemagick bugs
Merge pull request #257 from openscad/build_better2

Tests: if we are on linux/BSD and there's no X running, try Xvfb automatically.