linux build modification, breaks windows (will fix later).