app: fix building for windows.

This was broken in 53b5822926bf93cbc30c181ee9c5916c3ac21034