winapi: Add some support for handling ifdefs, particularly ifdef _WIN64.