Pattern scan for Linux

Adds improved FindPattern function and patterns for Linux. This is untested as compiling the latest YSF gave me some errors.