Windows inline fixes

Pretty sure Apple didn't try building this code on Windows much, big
surprise