Fixing Linux build issues
Static build