compileTimeOnly should work for 2.10 and 2.11

Signed-off-by: Ben Jackman <ben@jackman.biz>