Compiling and linking on a subset