Fix dependencies, remove execute bit from files