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