Added checks for WP8

Added checks for the use of CultureInfo Class when building to Windows
Phone 8. (Thanks to @kemasdimas for this change)