Compile the C files properly

Still need to tunnel that through the stubs dependencies.