Changing dependencies to compile scope