made compile.sh executable
added pwmlib to makefile
mocked out bcm2835 library under non-arm platforms