Fix build permissions, help Bash out

I had some issues building from source. The three files had the wrong permissions, and they were being treated as shell scripts. These little tweaks sorted out the issue.