Fix method name in error message

- compile -> precompile