Improve linux build script usability

 * make script executable & add shebang
 * use dirname to detect path to the script, hence it can be run from
   any other dir
Merge pull request #6 from ahitrin/master

Improve linux build script usability (pull request from @ahitrin)