Windows support fix

Fixed relative paths for applications