Fixed issue #98, and fixed the SP project files on Release mode.