Make autowiring visibility hidden on unix