Libbluray: update to 0.2.3 and compilation fixes

Hello! I updated the formula to the new version and fixed compilation, did some dependency checks by looking at the configure, etc. I split this in two atomic commits for easier review. Feel free to squash them if you feels so inclined.

I was told about `--disable-debug` being removed on #videolan@freenode.

On a side note: it seems this library can also depend on JAVA for some optional functionality (configure assumes open-jdk6 by default). Are there any formulas I can look at that do it the right way?