Added hdr.pak to Linux build and added saner check for nullpointer in code

	modified:   IDE/Build/Linux/Makefile
	modified:   IDE/Contents/Source/PolycodeMaterialEditor.cpp