Fix for bug #2.

You can ignore the changes to target the 4.5 framework.