Searching files with glob, and testing platform

This shell script "get_modules" isn't working for me, so i made a simple fix using glob and now it works.