Why does it matter if that compatibility layer sits in a system-wide library or in application code (as anyone would add if writing a program to target multiple kinds of system)? Wine is not an emulator, it's a free re-implementation of the windows API that runs on Linux.