Add availability to execute file
Windows-specific fixes