NaCl tweaks and an example app.

Changed the code to be less ifdeffy.
Changed the build to work on linux.
Made an example app that works on linux. (mac needs testing).
Updated install instructions in general.