Fixed compile error in SPconfig