Fixed to use make build system, not quite working yet (libraries don't link properly)