run_piglit: add 0 to mesa versions lover than 10 to fix ordering
compile_mesa: build fixes