Fix incorrect function declarations for the no-bitcode case

They just weren't right. Not sure how they didn't produce failures on Windows.