erlang: Update to OTP R16B01

Also adds `--with-fop`to build pdf docs and `--with-wxmac` to enable
wxwidgets support (currently disabled because of crashing issues)
aswell as two 10.9 build fixes.