Add option to disable test compilation