Fix headless error with makeCompatible() (from suushmedia)
https://github.com/flyingsaucerproject/flyingsaucer/commit/25a28383cb8fdedd727cd260362d0aff3af2c457