Fix malloc replacement detection and library flags
Fix FindHoard.cmake script
Fix typo in FindRubyNArray.cmake