Fixed spark build and added new build instructions.