Fixed an overload, which is not available in compact framework.
Merge pull request #517 from lhaussknecht/cf

Fixed an overload, which is not available in compact framework.