Fix WP7 build