Made some of the make files more better.

Also fixed a problem with the buzzer example.

Be warned: I've moved userland out of raspberrypi into lib.