Add some stubs and libs for cross-compiling linux