Added some pre_hooks to clean deps compiled files before compiling again