Implementing detect sources to make the compiler detect if the application is Windows or Linux.