Just following up my last post - It seems Lilypond has far more dependencies than just Ghostscript, this will need a bit more work!