Minor fix to EmbeddedDllLoader, and fixing .Net 4.0 project so it targets 4.0 instead of 4.5

Hi Charles,

Here are a couple more minor fixes.
Thanks again!

Tyler