Add specific build files for corelibs for different OS