Everybody here is the simple solution: in the command line there's a missing space between "headers" and "$"

So try this: apt-get install linux-headers $(uname -r)