Fixes precompile assets command

Precompile assets would not work if you not use 'sudo'.