Compile camera lib