Added compile definitions to allow building on windows
Expose only source files from core sources