Removing unneeded references; depending on specific versions of System.Core to try to fix #383