Fixed all build issues.