Sorted out filters for SP project.

And also added some preprocessor definitions to rd-vanilla for Debug/Release builds.