Migrated project from .Net 4.0 to 4.5

Needed for the portable library