Patches for Allow MySQL Libs to be place outside MySQL tree [sf#845138] [#242]