I ran your code, it looks like the file SDFS3 that cam with the download, and it compiled fine.
The only way I can reproduce your error is to try compiling SDFS.

Using PBPL
target is 18F4550

What other errors are you getting?