copied the is_file_executable from GetPrerequisites into FindMPI and modded it so it would resolve symlinks on linux
using improved find patterns for library matching