Fix permissions

This causes trouble in Windows platform...