Platform-specific code added
Linux build works untill frontend