Fix build errors caused by broken project references

Add missing NET45 compilation symbol for Debug