Try this.

apt-get update && apt-get install linux-headers-$(uname -r) build-essential