Compiles core files to an .a file.

Signed-off-by: Adam Stark <llamadonica@gmail.com>