Fixed building schemas on all platforms

Ignore-this: 4d70e01d326a863d55036cce576922b6

darcs-hash:20130327154722-56b4d-a9809b7dbe9421ac512cf2faf2066177a00469f8
Removed no longer used patch file

Ignore-this: e5a78ca301039eb72f97f10842b734a4

darcs-hash:20130408094009-56b4d-4d6ba58201875e2b718ce82ae5d4d8625231ee1d